import React from 'react'
import { Route } from 'react-router-dom'
import 'antd/dist/antd.css'
import { Layout } from 'antd'
import './content.css'
import Index from '../../pages/index/index'
import Tools from '../../pages/tools/tools'
import Todo from '../../pages/todos/index'

const { Content } = Layout
export default class Contents extends React.Component{
    render() {
        return (
            <Content className="content">
                <Route exact path='/index' component={Index} />
                <Route path='/index/tools' component={Tools} />
                <Route path='/index/todo' component={Todo} />
            </Content>
        );
    }
}